package org.nepu.scr.indexrate.ratelongevity.longevity;

import org.lboot.jpa.service.UniService;
import org.nepu.scr.indexrate.ratelongevity.longevity.params.LongevityData;

import java.util.List;

public interface LongevityService extends UniService<Longevity, String> {
    List<Longevity> getByLongevityName(String evaluationId);

    LongevityData saveLongevityData(String schemeId, LongevityData data);

    LongevityData readLongevityData(String evaluationId);

    boolean deleteLongevityData(String evaluationId);
}
